Skip to main content

Data Storage Rules

Configuration ItemDefaultDescription
Project data-bucket retention period1 yearNew projects default to one year. Historical projects are automatically upgraded from the previous 14-day default.
Data-point storage limit100 points per operationThe API returns a 400 error when the limit is exceeded.
Data-point storage switchUser-configurableConfigured through the /data/setStore API.
Cloud SCADA trial period30 daysCalculated from gateway creation and cannot be renewed.
Cloud SCADA behavior after expirationWebSocket push and storage stopExisting data is not deleted.

Data-Bucket Management

What Is a Data Bucket?

A data bucket is a logical storage unit in InfluxDB. The platform creates data buckets by project to isolate time-series data belonging to different projects.

Retention Policy

  • New projects: a data bucket with a default one-year retention period is created.
  • Historical projects: the system automatically detects and upgrades the storage period for older projects from the previous default of 14 days to one year.
  • After expiration: new data is no longer written. Existing data is retained but cannot be queried.

Data-Point Storage Control

Users can precisely control whether historical data is stored for each data point:

  1. Open Gateway Details > Data-Point Management.
  2. Select the data points whose history should be stored, up to 100 points per operation.
  3. Call the /data/setStore API to save the configuration.
  4. Data from selected points is written to InfluxDB. Unselected points continue to support real-time push only.

Storage Architecture

Edge Gateway ──MQTT──▶ data Module ──Write──▶ InfluxDB Bucket

┌──────────────┴──────────────┐
▼ ▼
Real-Time Query API Historical Query API
(Redis Cache) (InfluxDB Query)